import { App } from 'vue';
import VPBtn from '/@/components/vp/button/VpBtn.vue';
import VPBtnEdit from '/@/components/vp/button/VpBtnEdit.vue';
import VpBtnDel from '/@/components/vp/button/VpBtnDel.vue';
import VpBtnDisable from '/@/components/vp/button/VpBtnDisable.vue';
import VpBtnEnable from '/@/components/vp/button/VpBtnEnable.vue';
import VpBtnReset from '/@/components/vp/button/VpBtnReset.vue';
import VpBtnSearch from '/@/components/vp/button/VpBtnSearch.vue';
import VpBtnAdd from '/@/components/vp/button/VpBtnAdd.vue';
import VpBtnCancel from '/@/components/vp/button/VpBtnCancel.vue';
import VpBtnConfirm from '/@/components/vp/button/VpBtnConfirm.vue';
import VpBtnMore from '/@/components/vp/button/VpBtnMore.vue';
import VpBtnSelected from '/@/components/vp/button/VpBtnSelected.vue';
import VpBtnEmpty from '/@/components/vp/button/VpBtnEmpty.vue';
import VpBtnSave from '/@/components/vp/button/VpBtnSave.vue';
import VpBtnSubmit from '/@/components/vp/button/VpBtnSubmit.vue';
import VpBtnValid from '/@/components/vp/button/VpBtnValid.vue';
import VpBtnInvalid from '/@/components/vp/button/VpBtnInvalid.vue';
import VpBtnView from '/@/components/vp/button/VpBtnView.vue';
import VpBtnImport from '/@/components/vp/button/VpBtnImport.vue';
import VpBtnExport from '/@/components/vp/button/VpBtnExport.vue';
import VpBtnBack from '/@/components/vp/button/VpBtnBack.vue';
import VpBtnCopy from '/@/components/vp/button/VpBtnCopy.vue';
import VpBtnDiscard from '/@/components/vp/button/VpBtnDiscard.vue';
import VpBtnPrint from '/@/components/vp/button/VpBtnPrint.vue';
import VpBtnClose from '/@/components/vp/button/VpBtnClose.vue';

function componentBy(app: App) {
    app.component('vp-btn', VPBtn);
    app.component('vp-btn-edit', VPBtnEdit);
    app.component('vp-btn-del', VpBtnDel);
    app.component('vp-btn-disable', VpBtnDisable);
    app.component('vp-btn-enable', VpBtnEnable);
    app.component('vp-btn-reset', VpBtnReset);
    app.component('vp-btn-search', VpBtnSearch);
    app.component('vp-btn-add', VpBtnAdd);
    app.component('vp-btn-cancel', VpBtnCancel);
    app.component('vp-btn-confirm', VpBtnConfirm);
    app.component('vp-btn-more', VpBtnMore);
    app.component('vp-btn-selected', VpBtnSelected);
    app.component('vp-btn-empty', VpBtnEmpty);
    app.component('vp-btn-save', VpBtnSave);
    app.component('vp-btn-submit', VpBtnSubmit);
    app.component('vp-btn-valid', VpBtnValid);
    app.component('vp-btn-invalid', VpBtnInvalid);
    app.component('vp-btn-view', VpBtnView);
    app.component('vp-btn-import', VpBtnImport);
    app.component('vp-btn-export', VpBtnExport);
    app.component('vp-btn-back', VpBtnBack);
    app.component('vp-btn-copy', VpBtnCopy);
    app.component('vp-btn-discard', VpBtnDiscard);
    app.component('vp-btn-print', VpBtnPrint);
    app.component('vp-btn-close', VpBtnClose);
}

export default {
    componentBy
}